package com.dhcc.bpm.modules.api.service.impl;

import com.dhcc.bpm.modules.api.entity.CostApi;
import com.dhcc.bpm.modules.api.vo.CostApiVO;
import com.dhcc.bpm.modules.api.mapper.CostApiMapper;
import com.dhcc.bpm.modules.api.service.ICostApiService;
import org.springblade.core.mp.base.BaseServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @ClassName CostApiServiceImpl
 * @Description 收费规则表 服务实现类
 * @Author daina
 * @Date 2020/2/25 15:22
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Service
public class CostApiServiceImpl extends BaseServiceImpl<CostApiMapper, CostApi> implements ICostApiService {

	@Override
	public IPage<CostApiVO> selectCostApiPage(IPage<CostApiVO> page, CostApiVO costApi) {
		return page.setRecords(baseMapper.selectCostApiPage(page, costApi));
	}

}
